package com.boxin.ims.modules.sys.utils;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Service;

import com.boxin.ims.modules.sys.entity.Config;
import com.boxin.ims.modules.sys.service.ConfigService;

@Service
public class ConfigUtils  implements ApplicationContextAware{
	
	
	public final static Integer SERVICE_TYPE_TRAVEL_BUS = 3;	//旅游车队管理服务
	
	private static ConfigService configService;

	@Override
	public void setApplicationContext(ApplicationContext applicationContext)
			throws BeansException {
		configService = (ConfigService)applicationContext.getBean("configService");
		
	}
	
	
	public static Config getConfig(Long userId,Integer serviceType){
		
		return null;
	}

}
